/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package YottaTron.Actions;

import YottaTron.Sprites.Sprite;



/**
 *
 * @author Cenda
 */
public class StopAllAction extends Action{

    public StopAllAction(Sprite s){
    sprite = s;
    }

    public boolean nextStep(float deltaTime){
        //System.out.println("Stopping all actions");
        sprite.setSpeed(0);
        sprite.setAction(new NoAction());
        return false;
    }

   

}
